package com.jdrx.ocp.beans.dto.setting;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @Author: Huangxg
 * @Date: 2018/12/7 11:29
 */
@ApiModel(value = "添加配置信息DTO",description = "添加配置信息DTO")
public class CreateSettingDTO {
    @NotBlank
    @ApiModelProperty(value = "配置名称" ,required = true)
    private String name;
    @NotBlank
    @ApiModelProperty(value = "配置键" ,required = true)
    private String key;
    @NotBlank
    @ApiModelProperty(value = "键值" ,required = true)
    private String value;
    @ApiModelProperty(value = "备注")
    private String remark;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
